package cn.e4j.modular.crm.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.time.LocalDate;
import java.io.Serializable;

import org.springframework.format.annotation.DateTimeFormat;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author yuan_rz
 * @since 2019-01-28
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWDC_T")
public class GwdcT extends PO<GwdcT> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "GWDCENT", type = IdType.INPUT)
    private String GWDCENT;

    private String GWDC001;

    private String GWDC002;

    private String GWDC003;

    private String GWDC004;

    private String GWDC005;

    private String GWDC006;

    private String GWDC007;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWDC008;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWDC009;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWDC010;

    private String GWDC011;

    private String GWDC012;

    private String GWDC013;

    private String GWDC014;

    private String GWDC015;

    @Excel(name = "客户分类")
    private String GWDC016;

    private String GWDC017;

    @Excel(name = "品号")
    private String GWDC018;

    private String GWDC019;

    private BigDecimal GWDC020;

    private BigDecimal GWDC021;

    private String GWDC022;

    private BigDecimal GWDC023;

    @Excel(name = "促销价格")
    private BigDecimal GWDC024;

    private BigDecimal GWDC025;

    private BigDecimal GWDC026;

    private BigDecimal GWDC027;

    private String GWDC028;

    private String GWDC029;

    private String GWDC030;

    private String GWDC031;

    private String GWDC032;

    private String GWDCACTI;

    @TableField(fill = FieldFill.INSERT)
    private String GWDCUSER;

    @TableField(fill = FieldFill.INSERT)
    private String GWDCGRUP;

    @TableField(fill = FieldFill.UPDATE)
    private String GWDCMODU;

    /*@TableField(fill = FieldFill.INSERT)*/
    private String GWDCTIME;

    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWDCDATE;

    @TableField(fill = FieldFill.INSERT)
    private String GWDCORIG;

    @TableField(fill = FieldFill.INSERT)
    private String GWDCORIU;



    @Override
    protected Serializable pkVal() {
        return this.GWDCENT;
    }

}
